package com.hw.entity.bo.tree;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 树节点
 *
 * @author whw
 * @date 2021/6/15
 */
@Data
public class TreeNodeBO {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private String id;

    /**
     * 文字标签
     */
    @ApiModelProperty(value = "文字标签")
    private String label;

    /**
     * 值
     */
    @ApiModelProperty(value = "值")
    private String value;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id")
    private String parentId;

    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private Integer seq;

    /**
     * 子节点
     */
    @ApiModelProperty(value = "子节点")
    private List<TreeNodeBO> children;
}
